Optimal. Leaf size=88 \[ -\frac {2^{p+\frac {1}{2}} \sqrt {a+b x} \left (\frac {b x}{a}+1\right )^{-p-\frac {3}{2}} \left (a^2-b^2 x^2\right )^{p+1} \, _2F_1\left (-p-\frac {1}{2},p+1;p+2;\frac {a-b x}{2 a}\right )}{a b (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {680, 678, 69} \[ -\frac {2^{p+\frac {1}{2}} \sqrt {a+b x} \left (\frac {b x}{a}+1\right )^{-p-\frac {3}{2}} \left (a^2-b^2 x^2\right )^{p+1} \, _2F_1\left (-p-\frac {1}{2},p+1;p+2;\frac {a-b x}{2 a}\right )}{a b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 678
Rule 680
Rubi steps
\begin {align*} \int \sqrt {a+b x} \left (a^2-b^2 x^2\right )^p \, dx &=\frac {\sqrt {a+b x} \int \sqrt {1+\frac {b x}{a}} \left (a^2-b^2 x^2\right )^p \, dx}{\sqrt {1+\frac {b x}{a}}}\\ &=\left (\sqrt {a+b x} \left (1+\frac {b x}{a}\right )^{-\frac {3}{2}-p} \left (a^2-a b x\right )^{-1-p} \left (a^2-b^2 x^2\right )^{1+p}\right ) \int \left (1+\frac {b x}{a}\right )^{\frac {1}{2}+p} \left (a^2-a b x\right )^p \, dx\\ &=-\frac {2^{\frac {1}{2}+p} \sqrt {a+b x} \left (1+\frac {b x}{a}\right )^{-\frac {3}{2}-p} \left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (-\frac {1}{2}-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{a b (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 89, normalized size = 1.01 \[ \frac {2^{p+\frac {1}{2}} (b x-a) \sqrt {a+b x} \left (\frac {b x}{a}+1\right )^{-p-\frac {1}{2}} \left (a^2-b^2 x^2\right )^p \, _2F_1\left (-p-\frac {1}{2},p+1;p+2;\frac {a-b x}{2 a}\right )}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.88, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sqrt {b x + a} {\left (-b^{2} x^{2} + a^{2}\right )}^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b x + a} {\left (-b^{2} x^{2} + a^{2}\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.80, size = 0, normalized size = 0.00 \[ \int \sqrt {b x +a}\, \left (-b^{2} x^{2}+a^{2}\right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b x + a} {\left (-b^{2} x^{2} + a^{2}\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (a^2-b^2\,x^2\right )}^p\,\sqrt {a+b\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (- \left (- a + b x\right ) \left (a + b x\right )\right )^{p} \sqrt {a + b x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________